package org.dromara.chicken.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 减少记录对象 chicken_reduce_info
 *
 * @author Mr Lei QQ235921049
 * @date 2024-06-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("chicken_reduce_info")
public class ChickenReduceInfo extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 订单编号
     */
    private Long orderId;
    @TableField(exist = false)
    private String orderName;

    /**
     * 日龄
     */
    private Long dayAge;
    /**
     * 当前存栏量
     */
    private Integer stock;

    /**
     * 鸡舍
     */
    private Long houseId;
    @TableField(exist = false)
    private String houseName;

    /**
     * 批次
     */
    private Long hatchId;
    @TableField(exist = false)
    private String hatchName;

    /**
     * 减少数量
     */
    private Long amount;

    /**
     * 公鸡数量
     */
    private Long cockNum;

    /**
     * 母鸡数量
     */
    private Long henNum;

    /**
     * 品种
     */
    private Long varietiesId;
    @TableField(exist = false)
    private String varietiesName;

    /**
     * 重量
     */
    private BigDecimal weight;

    /**
     * 发生时间
     */
    private Date happenTime;

    /**
     * 减少分类
     */
    private String statusId;

    /**
     * 简要说明
     */
    private String remark;


}
